/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package biz;

import dao.NutritionZoneDAO;
import entity.NutritionZone;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Young Ran
 */
public class NutritionZoneBO {
    
    //DISPLAY NUTRITION ZONE:
    public ArrayList<NutritionZone> getAllNutritionZone() throws SQLException{
        return new NutritionZoneDAO().getAllNutritionZone();
    }
public void addNutritionZone(NutritionZone item) throws SQLException
{
    new NutritionZoneDAO().addNutritionZone(item);
}
public void editNutritionZone(NutritionZone item) throws SQLException{
    new NutritionZoneDAO().editNutritionZone(item);
}
public void deleteNutritionZone(int id) throws SQLException{
    new NutritionZoneDAO().deleteNutritionZone(id);
}
    
}
